package com.zmzncs.lmtc.module.shop.pojo.shop_order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @Author 高博文
 * @Date 2021/05/25 14:30
 */
@Data
public class ShopOrderVO {

    @ApiModelProperty(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "订单号")
    private String orderCode;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "客户实付金额")
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "支付给商户的金额")
    private BigDecimal paidShopAmount;

    @ApiModelProperty(value = "支付状态（0：待支付，1：已支付，2：取消支付，3：支付失败，4：已退款,5待核销，6已核销）")
    private Integer payStatus;

    @ApiModelProperty(value = "核销码")
    private String writeOffCode;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "退款时间")
    private Date refundTime;

    @ApiModelProperty(value = "核销时间")
    private Date writeOffTime;

    @ApiModelProperty(value = "核销人")
    private String userName;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商户名称")
    private String shopName;

    @ApiModelProperty(value = "用户名称")
    private String nickname;
}
